inspector: Look up the schema recursively
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Sep 2014 23:52:23 +0000 (19:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 Sep 2014 23:52:23 +0000 (19:52 -0400)
This is the recommended way to use this function. It should
also fix problems with the inspector when GSETTINGS_SCHEMA_DIR
is set.

https://bugzilla.gnome.org/show_bug.cgi?id=737027

gtk/gtkwindow.c

index 4a686374ec46f3af55a88a934cc1dcd223e8cb08..c0943d2b7f95b808cae92106766cf7e7dabb3fc2 100644 (file)
@@ -11703,7 +11703,8 @@ inspector_keybinding_enabled (gboolean *warn)
 
   schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
                                             "org.gtk.Settings.Debug",
-                                            FALSE);
+                                            TRUE);
+
   if (schema)
     {
       settings = g_settings_new_full (schema, NULL, NULL);